package io.github.talelin.latticy.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.github.talelin.latticy.model.CategoryDO;
import lombok.Data;

import java.util.List;

/**
 * @ClassName：CategoryVO
 * @Author: ljj
 * @Date: 2022/6/12 0:23
 */
@Data
public class CategoryVO extends CategoryDO {
    private Integer value;

    private String label;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<CategoryVO> children;
}
